package com.yanfan.energybilling.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.yanfan.common.annotation.Excel;
import com.yanfan.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.List;

/**
 * 价格方案对象 price_scheme
 *
 * @author kerwincui
 * @date 2025-07-28
 */
@ApiModel(value = "PriceScheme", description = "价格方案 price_scheme")
@Data
@EqualsAndHashCode(callSuper = true)
public class PriceScheme extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Long id;

    /**
     * 暂时没用
     */
    private Long deptId;

    /**
     * 类型（水电气）
     */
    @Excel(name = "类型", readConverterExp = "水=电气")
    @ApiModelProperty("类型")
    private Integer type;

    /**
     * 方案名称
     */
    @Excel(name = "方案名称")
    @ApiModelProperty("方案名称")
    private String name;

    /**
     * 费率类型(1:单费率，2：复费率)
     */
    @Excel(name = "费率类型(1:单费率，2：复费率)")
    @ApiModelProperty("费率类型(1:单费率，2：复费率)")
    private Integer rateType;

    /**
     * 类型 0计量，1计时
     */
    @Excel(name = "类型 0计量，1计时")
    @ApiModelProperty("类型 0计量，1计时")
    private String chargeType;
    @TableField(exist = false)
    private List<String> chargeTypeList;

    /**
     * 计量单价
     */
    @Excel(name = "计量单价")
    @ApiModelProperty("计量单价")
    private BigDecimal meterPrice;

    /**
     * 计时单价
     */
    @Excel(name = "计时单价")
    @ApiModelProperty("计时单价")
    private BigDecimal timePrice;

    /**
     * 计量单价1
     */
    @Excel(name = "计量单价1")
    @ApiModelProperty("计量单价1")
    private BigDecimal meterPrice1;

    /**
     * 计时单价1
     */
    @Excel(name = "计时单价1")
    @ApiModelProperty("计时单价1")
    private BigDecimal timePrice1;

    /**
     * 计量单价2
     */
    @Excel(name = "计量单价2")
    @ApiModelProperty("计量单价2")
    private BigDecimal meterPrice2;

    /**
     * 计时单价2
     */
    @Excel(name = "计时单价2")
    @ApiModelProperty("计时单价2")
    private BigDecimal timePrice2;

    /**
     * 计量单价3
     */
    @Excel(name = "计量单价3")
    @ApiModelProperty("计量单价3")
    private BigDecimal meterPrice3;

    /**
     * 计时单价3
     */
    @Excel(name = "计时单价3")
    @ApiModelProperty("计时单价3")
    private BigDecimal timePrice3;

    /**
     * 计量单价4
     */
    @Excel(name = "计量单价4")
    @ApiModelProperty("计量单价4")
    private BigDecimal meterPrice4;

    /**
     * 计时单价4
     */
    @Excel(name = "计时单价4")
    @ApiModelProperty("计时单价4")
    private BigDecimal timePrice4;

    /**
     * 服务费1
     */
    @Excel(name = "服务费1")
    @ApiModelProperty("服务费1")
    private BigDecimal servicePrice1;

    /**
     * 服务费2
     */
    @Excel(name = "服务费2")
    @ApiModelProperty("服务费2")
    private BigDecimal servicePrice2;

    /**
     * 服务费3
     */
    @Excel(name = "服务费3")
    @ApiModelProperty("服务费3")
    private BigDecimal servicePrice3;

    /**
     * 服务费4
     */
    @Excel(name = "服务费4")
    @ApiModelProperty("服务费4")
    private BigDecimal servicePrice4;

    /**
     * 状态
     */
    @Excel(name = "状态")
    @ApiModelProperty("状态")
    private Integer status;

    @TableField(exist = false)
    private List<PriceSchemeTime> timeList;

}
